package br.com.cotec.manager.impl;

import javax.ejb.EJB;

import br.com.cotec.dao.UsersDao;
import br.com.cotec.manager.UsersManager;
import br.com.cotec.model.Users;

/**
 * 
 * @author Rodrigo Silva Magalhaes
 * 
 */
public class UsersManagerImpl extends GenericManagerImpl<Users, Long> implements UsersManager {
	
	@EJB(name = "usersDao")
	private UsersDao usersDao;
	
	/**
	 * {@inheritDoc}
	 */
	public boolean exists(String userName) {
		return usersDao.exists(userName); 
	}
	
}
